<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>旋转大哥</title>
    <style>
        body {
            perspective: 1000px;
        }
        
        @keyframes rotate {
            0% {
                transform: rotateY(0);
            }
            100% {
                transform: rotateY(360deg);
            }
        }
        
        section {
            margin: 500px auto;
            width: 350px;
            height: 258px;
            position: relative;
            transform-style: preserve-3d;
            animation: rotate 3s linear infinite;
        }
        
        section .box {
            width: 100%;
            height: 100%;
            position: absolute;
        }
        
        section .box:nth-child(1) {
            transform: translateZ(500px);
        }
        
        section .box:nth-child(2) {
            transform: rotateY(60deg) translateZ(500px)
        }
        
        section .box:nth-child(3) {
            transform: rotateY(120deg) translateZ(500px)
        }
        
        section .box:nth-child(4) {
            transform: rotateY(180deg) translateZ(500px)
        }
        
        section .box:nth-child(5) {
            transform: rotateY(240deg) translateZ(500px)
        }
        
        section .box:nth-child(6) {
            transform: rotateY(300deg) translateZ(500px)
        }
    </style>
</head>

<body>
    <section>
        <div class="box"><img src="brother.jpg" alt=""></div>
        <div class="box"><img src="brother.jpg" alt=""></div>
        <div class="box"><img src="brother.jpg" alt=""></div>
        <div class="box"><img src="brother.jpg" alt=""></div>
        <div class="box"><img src="brother.jpg" alt=""></div>
        <div class="box"><img src="brother.jpg" alt=""></div>

    </section>

</html>